package com.sjft.cloud.commons.support.datamodel.sqlbuilder;

import com.sjft.cloud.commons.support.datamodel.sqlbuilder.ddl.AlterTableSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.ddl.impl.MysqlAlterTableSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.ddl.impl.MysqlCreateTableSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.ddl.impl.MysqlDropTableSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.dml.DeleteDataSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.dml.InsertDataSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.dml.UpdateDateSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.dml.impl.MysqlDeleteDataSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.dml.impl.MysqlInsertDataSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.dml.impl.MysqlUpdateDataSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.ddl.CreateTableSqlBuilder;
import com.sjft.cloud.commons.support.datamodel.sqlbuilder.ddl.DropTableSqlBuilder;

/**
 * SqlBuilder
 *
 * @author Jin
 */
public class SqlBuilder {

    private SqlBuilder() {
    }

    public static SqlBuilder newBuilder() {
        return new SqlBuilder();
    }

    public AlterTableSqlBuilder newAlterTableSqlBuilder() {
        return new MysqlAlterTableSqlBuilder();
    }

    public CreateTableSqlBuilder newCreateTableSqlBuilder() {
        return new MysqlCreateTableSqlBuilder();
    }

    public DropTableSqlBuilder newDropTableSqlBuilder() {
        return new MysqlDropTableSqlBuilder();
    }

    public DeleteDataSqlBuilder newDeleteDataSqlBuilder() {
        return new MysqlDeleteDataSqlBuilder();
    }

    public InsertDataSqlBuilder newInsertDataSqlBuilder() {
        return new MysqlInsertDataSqlBuilder();
    }

    public UpdateDateSqlBuilder newUpdateDateSqlBuilder() {
        return new MysqlUpdateDataSqlBuilder();
    }


}
